package com.guoxue.dao;

import java.io.Serializable;
import java.util.List;

import com.guoxue.domain.UserVo;

public interface IUserDao {
	
	public void saveUser(UserVo user);
	
	public UserVo getUser(String account);
	
	public UserVo getUser(String account,int type);
	
	public UserVo getUserById(String identityId);
	
	public List<UserVo> getUserList();

	public UserVo getUserByTel(String account);

	public UserVo getUserByNickname(String nickName);

	public int updateUserNickName(String nickName, String account);

	public void updateAccountStatus(int id, int status);

	public UserVo getUserByKey(int id);

	public Serializable saveReturnKey(UserVo entiy);

	public UserVo getUserBySina(String userId);

	public UserVo getUserByQq(String userid);

	public List<UserVo> getByAccount(String account);

	public List<UserVo> getByName(int uid,int sysflag, String name);

	public List<UserVo> getUserLikeNickname(String param);

	public List<UserVo> getFensByUid(int uid, String name);

}
